#ifndef ITEM_WORD_H
#define ITEM_WORD_H

#include "Item.h"
#include <string>

class Item_Word : public Item {
public:
    void parse(Parser& parser,
               const Metadata& fInfo,
               std::string& name);
    bool operator==(const Metric_Object *other) const;

    std::ostream& print(std::ostream& os) const;
    double metric(const Metric_Object *other) const;

private:
    std::string word;
};

std::ostream& operator<<( std::ostream& os,
                          const Item_Word& w );
#endif
